Skip to content

Fix Windows wheel version by moving swig into cibuildwheel#37

Merged
chezou merged 1 commit intomasterfrom
fix/windows-wheel-version
Mar 30, 2026
Merged

Fix Windows wheel version by moving swig into cibuildwheel#37
chezou merged 1 commit intomasterfrom
fix/windows-wheel-version

Conversation

@chezou
Copy link
Copy Markdown
Owner

@chezou chezou commented Mar 30, 2026

Running swig in the "Prepare for Windows" step dirtied the git working tree (regenerating tracked mykytea_wrap.cxx), causing setuptools-scm to produce a dev version instead of the tag version. Move swig to CIBW_BEFORE_BUILD_WINDOWS so it runs in cibuildwheel's copy of the project.

Also add skip-existing to PyPI publish for safe re-uploads.

Running swig in the "Prepare for Windows" step dirtied the git
working tree (regenerating tracked mykytea_wrap.cxx), causing
setuptools-scm to produce a dev version instead of the tag version.
Move swig to CIBW_BEFORE_BUILD_WINDOWS so it runs in cibuildwheel's
copy of the project.

Also add skip-existing to PyPI publish for safe re-uploads.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@chezou chezou merged commit 5c9107a into master Mar 30, 2026
21 checks passed
@chezou chezou deleted the fix/windows-wheel-version branch March 30, 2026 01:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant